home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 31
/
Amiga Format CD31 (1998-09-02)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1998-10].iso
/
-readerstuff-
/
stu_mackie
/
metrix
/
metrix.doc
< prev
next >
Wrap
Text File
|
1998-07-27
|
10KB
|
303 lines
=============
M E T R I X
=============
- C O N T E N T S -
Why?
What Is It?
Cost? Free?
Requirements
Installation
Usage
Problems?
Copyright
Distribution
Disclaimer
Contact...
=====================
(c) 1997 - Stu Mackie
=====================
Why?
----
One day... I had to convert a number of measurements (as you do), and
I only had to use the table in the back of my Dictionary, didn't I?
"Stone me, Gov!" I hear you cry.
So I thought "Wouldn't it be handy to have my Amiga do it for me?"
Then I thought "Nah, not really", but I did it anyway. Well it was either
that, or go to the pub. So I came back stinking of lager and curry, and
decided there and then that it IS a good idea after all - in much the
same way that you think, after a pint, that getting a tattoo and Keanu
Reeves playing Superman is a good idea.
So, it took about a week to write, 12.5 seconds to test (never liked that
bit), and it's in Blitz Basic.
Enjoy... Stu.
What is it?
-----------
A combination of Internal Functions, and User-Entered Formula, convert
a multitude of measurements - restricted for the most part, only by
your imagination.
For fun only tho - don't go creating your nuclear arsenal based
on measurements from MetriX now, will you?
Add your own conversions to the following list of over 400 included...
Converts : Acres,Ares,Hectares,Square Rods,Square Feet, Square Yards,
Centiares,Bushels,Pecks,Cubic Inches,Litres,Quarts,Pints,Gills,Gallons,
Fluid Ounces,Fathoms,Cables,Feet,Metres,Nautical Miles,Kilometres,
Statute Miles,Grains,Milligrams,Grams,Carats,Pennyweight,Inches,Mils,
Centimetres,Cubic Centimetres,Cubic Decimetres,Cubic Feet,Cubic Yards,
Cubic Millimetres,USA Gallons,Minums,Fluid Drams,Millilitres,Days,Hours,
Seconds,Weeks,Years,Leap Years,Millennia,Quadrennia,Decigrammes,Ounces,
Scruples,Pounds,Rods,Furlongs,Miles,USA Pints,Square Kilometres,Minutes,
HundredWeight,Stones,Kg/Square Inch,Lbs/Square Inch,Kilobytes,Megabytes,
Bytes,Hectogrammes,Tons,Long Tons,Short Tons,Metric Tons,Quintals,
Degrees,Centigrade,Fahrenheit,Hex,Decimal,Binary,Date,Time,RAM,etc...
o Full-screen 640x512 32 colour display.
o Large digital calculation-type thingy.
o Dual Listbox-type thingy for easy access to "the one you want" quickly
and easily.
o Mini functions also check current date, time and memory usage.
o Edit any preset (excluding internal functions), or add your own.
o Save your data.
o Uses Mouse and Keys.
o Can be hidden behind your Workbench screen.
o Doesn't halt running of Workbench.
Cost?? Shareware? Nah...
------------------------
No annoying requesters. No demo version. The full Monty.
Do with it as you wish.
If you really want to send a postcard, bug-reports, suggestions etc,
then my address is at the bottom of this Doc.
Requirements:
-------------
o An Amiga. At least 1 MB free memory.
o Ideally a hard-drive, for speed and data storage.
If you're running from floppy, then make sure the disk is write-
enabled if you wish to update the datafile.
o "Helvetica.font" in your Fonts: directory.
Only the 24-point font is used
This font is included on your Workbench disks, if you can't find
it, and it isn't included in this archive, then you'll probably
find it on any Amiga CD.
o Libraries:
----------
Uses standard Amiga libraries, however ensure you've the
popular "Mathtrans.Library" somewhere in your LIBS: path.
Installation:
-------------
Just drag the drawer to wherever you want it - and make sure
"Helvetica.font" is in your Fonts: Directory - that's it!
No assigns required. Just double-click the "MetriX" icon.
The file "MetriX.Data" should be in the same drawer as "MetriX".
Archive contains:
MetriX (Drawer)
MetriX --- Executable
MetriX.info
MetriX.Data --- Formulas Datafile
MetriX.ReadMe --- Short Description
MetriX.ReadMe.info
MetriX.Doc --- This Be It!!!
MetriX.Doc.info
MetriX.ScreenShot --- Screenshot
If the file "MetriX.Data" is lost for any reason, the prog will still
work, but you'll only have the Internal Functions available, until
you enter some new ones!!
This file is left unencrypted, so you can edit it by hand if you wish.
If you do this however, then make sure each line entered is terminated
with a "NEWLINE" (ie. Press (ENTER), just to be on the safe side. If it
fails to load correctly after editing by hand, then er... go do it again!
Otherwise, only edit within MetriX.
How To Use It...
----------------
On running "MetriX" you'll see the title. Just click the mouse and the
"Conversion Master" screen should appear.
It's easiest to just run it and see for yourself, but for the full story...
Select what you want to convert from, and what you want to convert to,
and then type in what you want to convert (Number keys on keyboard or
numeric keypad) and press (ENTER/RETURN).
Use (DEL/BACKSPACE) to delete a character.
Prefix your entry with a minus "-" if you want negative values.
You can use the keys "ABCDEF" if you're converting Hex. There are limits
regarding Hex and Binary - but it's all fairly simple.
You'll see counters indicating how many functions exist, and how many
updates you've made (if any) since you started.
The (UP/DOWN) cursor keys will take you thru the last 10 conversions,
and whichever conversion is displayed may be recalled using the
(LEFT/RIGHT) cursor keys, depending on whether you want the "To" data
or the "From" data recalled.
Of course, you can use the buttons instead if you wish.
To Add a new entry, select "ADD", enter the "To" and "From" fields,
and also enter the formula for the calculation (press (ENTER) on this
field to store your entry).
Formulas are just a number (ie. 0.625) to be multiplied by.
To discover what the formula should be, it may be best to work it out
on a scrap of paper first, but as a general rule...
One {From} Equals {Formula} {To}
For example: One {Millimetre) Equals {0.1} {Centimetre}
Here you would enter "Millimetre" in the {From} field,
"Centimetre" in the {To} field, and "0.1" in the
{Formula} field. Any calculation then performed using
this formula will be correct - ie. if you were doing a
conversion of Millimetres to Centimetres and you entered "10"
and pressed (ENTER), then your "10" would be multiplied
by "0.1", (which is the formula) to give the answer "1".
So "10" Millimetres equals "1" Centimetre.
It's easier in practice believe me.
When ADDing a new entry... if you wish it to appear sorted beneath a
heading already in existence then make sure you spell the "To" field
exactly as it currently exists. So if you're ADDing a "Centimetres To
Metres" conversion and you already have a "Centimetres To Millimetres",
then spell "Centimetres" in the {To} field exactly as it already exists
then your "Metres" option will be sorted beneath the original
"Centimetres" {From} category alongside the "Millimetres" option.
Again, it's just easier to try it and you'll see what I mean.
To Edit an entry, select the entry using the two listboxes, and
click the "EDIT" button. Adjust the Formula, and press (ENTER).
To Delete an entry, select the entry you wish to delete using the two
listboxes, and click the "EDIT" button, followed by the "DEL" button.
To Cancel an update, just click a Listbox.
Click the Disk Icon to save your changes. No changes will be saved
unless you do this, so if you make a mess, you can just quit.
May be best to make a backup of the "MetriX.Data" file just in case!!!
Any error messages and such, are displayed at the bottom of the screen.
Troubleshooting:
----------------
There shouldn't be any problems, but...
o Is "Helvetica.font" (point-24) in you Fonts: Drawer?
o Got a Megabyte free?
o "MetriX.Data" in your "MetriX" Drawer?
o You should have a copy of "Mathtrans.Library" somewhere...
This is usually already present, but it may be worth checking.
Copyright:
----------
MetriX V1.0 - © November 1997 : Stu Mackie.
Docs(s) and Graphics likewise.
Compiled using Blitz Basic 2.1 from Acid Software.
Distribution
------------
"MetriX" is freely distributable. It may be put on any
media which is used for the distribution of free software, like Public
Domain disk collections, CD-ROMs, Aminet (I can't put it there myself -
no Net access I'm afraid)...etc...
o This package should be made available to anyone free of charge,
whenever possible.
o If it appears on any CDs, PD libraries, disks etc., then just do
me a favour and let me know - no need to send me a copy of the media
unless you're feeling generous.
o Hey! This doesn't mean you can rip off me graphics or source for another
platform - holy moley!!! Well at least not without asking.
o Try and keep the files together, space permitting.
Disclaimer:
-----------
There is no warranty for this software package. Although I've tried
(oh how I've tried) to prevent nasty bugs, I can't guarantee that it
is 1OO% reliable. It's written in an Amiga-friendly way. and hasn't
caused me any problems, but it's customary to cover one's back, is
it not? So you use this package at your own risk. I can't be held
responsible for misuse, or having to reformat your hard-drive coz
it fall down go boom.
I'm no expert whizkid Amiga coder so there!
Follow the instructions properly, and you should have no probs.
First Contact...
----------------
If you wish, you can reach me thru this address:
Stu Mackie.
9O Oakwood Road,
Halewood,
Liverpool (Yes, yes, yes, where The Beatles came from),
Merseyside,
England,
L26 1XH.
As this is only a contact address, please don't place obscenities
on any postcards/envelopes, as the old guys'll only ask me what
it all means. Not that any self-respecting Amigan would behave in
such a manner? So keep all obscenities INSIDE the envelope!